var query =require('./datapool');
query('select *from user',(qerr,vals,fileds)=>{
    //console.log(fileds);
    for(let i=0;i<vals.length;i++){
        for(let j=0;j<filed.length;j++){
            var filedName=fileds[j].name;
            console.log(vals[i][filedName]);;
        }
        console.log('---------');
    }
});